package com.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bean.CustomerInteractions;

import java.util.List;

public interface ICustomerInteractionsService {
    /**
     *
     * @param customerInteractions
     * @return
     */
    CustomerInteractions insert(CustomerInteractions customerInteractions);

    /**
     *
     * @param customerInteractions
     * @return
     */
    CustomerInteractions update(CustomerInteractions customerInteractions);

    /**
     *
     * @param id
     * @return
     */
    int deleteById(Integer id);

    /**
     *
     * @param id
     * @return
     */
    CustomerInteractions getById(Integer id);

    /**
     *
     * @param page
     * @return
     */
    List<CustomerInteractions> getListByPage(IPage page);

    /**
     *
     * @param customerInteractions
     * @return
     */
    List<CustomerInteractions> getList(CustomerInteractions customerInteractions);
}
